export interface Phone {
    phone: string;
}

export interface EmailSmsCompletion {
    emailSubject: string;
    emailBody: string;
    error: string;
    sms: string;
    status: boolean;
}

export interface BYODCompletion {
    status: boolean;
    content: string;
    error: string;
}

export interface Customer {
    id: number;
    company: string;
    city: string;
    email: string;
}

/*
* "arounddeal_id": "v4hrdxoscw",
  "name_first": "Abdel Rahman",
  "name_last": "Ibdah",
  "name_full": "Abdel Rahman Ibdah",
  "job_title": "Service Manager",
  "email_business": "",
  "email_direct": "******@gmail.com",
  "arounddeal_company_id": "t9abgdgjwp",
  "company_name": "Volvo CAR Kuwait"*/
export interface CustomerAroundDeal {
    id: number;
    name_first: string;
    name_last: string;
    job_title: string;
    email_business: string;
    email_direct: string;
    company_name: string;
    phone: string;
    company: string;
}

export interface MyCustomer {
  data: peopleInfo;
}
interface peopleInfo {

  count: number;
  list: {
    arounddeal_id: string;
    name_first: string;
    name_last: string;
    name_full: string;
    job_title: string;
    email_business: string;
    email_direct: string;
    arounddeal_company_id: string;
    company_name: string;
    phone: string;
  }[];
}

export interface EmailSmsResponse {
    status: boolean;
}

export interface AcsUser {
    userId: string;
    token: string;
    expiresOn: Date;
}

export interface OneDriveFile {
    size: number;
    fileSystemInfo: {
        createdDateTime: Date;
        lastModifiedDateTime: Date;
    },
    id: string;
    createdBy: {
        user: {
            displayName: string;
            email: string;
        }
    },
    createdDateTime: Date;
    lastModifiedBy: {
        user: {
            displayName: string;
            email: string;
        }
    },
    lastModifiedDateTime: Date;
    name: string;
    parentReference: {
        driveId: string;
        id: string;
        sharepointIds: {
            listId: string;
            listItemId: number;
            listItemUniqueId: string;
        },
        siteId: string;
    },
    webUrl: string;
  }

  export interface ChatMessageInfo {
    teamId: string;
    channelId: string;
    messageId: string;
    summary: string;
  }

  export interface ChatMessage {
    id: string;
    teamId: string;
    channelId: string;
    summary: string;
    body: string;
    from: string;
    date: Date;
    webUrl: string;
  }
